import request from "@/utils/request.js"

export const selectNewsCategorys = data => {
  return request.request({
    url: "/teach-dev-manager/newsCategorys/selectNewsCategorys",
    method: "post",
    data//post请求用data,get用params
  })
}

export const getNewsByCategoryId = data => {
  return request.request({
    url: "/teach-dev-manager/news/selectNewsByCategoryId",
    method: "post",
    data//post请求用data,get用params
  })
}
